Free Pascal Compilers, Free Delphi Compilers

Free compilers for the Pascal and Delphi programming languages


Free Pascal Compilers, Free Delphi Compilers

Pascal is a general purpose procedural computer language created by Niklaus Wirth, originally intended as a tool to teach students structured programming. Some modern incarnations of the language include object oriented extensions.

Listed on this page are free Delphi and Pascal compilers for a number of platforms. There are also a few cross-compilers listed on this page. After you get your compiler, you may also want to check out the Free Pascal and Delphi Libraries / Source Code page for free Pascal and Delphi source code and libraries that you can link into your program.

Related Pages

Free Pascal Compilers, Free Delphi Compilers

Free Pascal (formerly FPK Pascal) Compiler

This is a Pascal compiler that generates native code for a number of platforms (such as Win32, MSDOS, Linux, OS/2, Amiga OS). It supports most of the Borland Pascal 7.0 dialect along with some extensions used by Delphi. According to the home page, it also supports function overloading and other such features. The package comes with sources for the compiler, which is itself written in Pascal. According to the program's website, the program comes under a "modified" GNU Public License to allow linking with static libraries when creating DOS programs. You have to read the documentation yourself to find out whether you can actually produce commercial programs without releasing your program source code. You can use it to compile your Delphi programs with the help of Lazarus, a free class library designed for this compiler.

PIC Micro Pascal

As its name suggests, PIC Micro Pascal is a cross compiler for PIC microprocessors, namely PIC10 to PIC18 (primarily PIC10, PIC12, PIC16, PIC16 enhanced mid-range, PIC18). Registers on the microprocessors are accessed directly as variables. Language support include floating point for PIC16 and PIC18, simple records, bit booleans, signed and unsigned types, long integers, strings, one dimensional arrays, etc. The compiler supports the compilation of multiple files and can generate code optimized for either speed or size. You need to have the Microchip MPLAB suite installed, since the compiler uses the assembler (MPASM), linker (MPLINK) and other files from that suite.

Delphi Starter Edition

The Delphi Starter Edition includes an IDE (integrated development environment) with a code editor, debugger, compiler that can generate 32-bit Windows executables, and numerous visual components. At the time I looked it up, the Starter Edition only gives you a licence to use it until your individual or company revenue reaches USD $5,000. There are possibly other restrictions, and they may have changed by the time you read this, so please read their licence documentation for the complete list of terms and restrictions. You must register with your name, company, telephone number and email address before you can download it. The licence is only for 1 year. When it expires, you will have to download the current version of that time, and obtain a new licence.

Pascal P5C

This Pascal to C compiler is a full ISO 7185 standard Pascal compiler with conformant arrays, function parameters, arbitrary set sizes, as well as extensions commonly provided by other compilers, such as underscores in identifiers, constant expressions, relaxed declaration order, C++ style comments (ie, with "//"), otherwise in case statements, hexadecimal numbers, additional predefined constants (as defined in the ISO 1026 extended Pascal), external variables, inline functions and procedures, etc. The generated C code can be compiled with the GNU C compiler. P5C is released into the public domain in source form only. To create a executable version, compile it with the GNU C compiler.

PascalABC.NET

This is a Pascal compiler for the Microsoft .NET Framework. It includes some extensions to the Pascal language, including in-block variable definitions, auto-type deduction of variables, a new operator for object construction, anonymous classes, n-dimensional dynamic arrays, operator overloading, etc. It comes with an IDE, an integrated debugger, a form designer, a bitmap and vector graphics library, a web development environment where you can run your program from a web browser, etc. Note that some of the pages on the site (eg, the download page) are in Russian, although the main page I linked to above is in English, so if you need information given on the other pages, you probably need to run it through an online translator. In additon, although the command line compiler is said to also run under Mono on Linux, I'm not sure if the rest of the system (IDE, forms designer, etc) can. In fact, at the time I wrote this, the installers come wrapped in an ".exe" file, which I guess means you should probably assume that this is primarily a Windows program.

Borland Turbo Pascal Compiler

The old versions of Borland Turbo Pascal 5.5, 3.02 and 1.0 are available from this page. As you know, Turbo Pascal was a very famous Pascal compiler from yesteryear and is fondly remembered by many programmers who learnt programming using the compiler. These are DOS compilers. Note that you will need to register with them to get a registration key. (I have not tried registering, so I don't know how long they take before they send you the key.)

GNU Pascal Compiler

This Pascal compiler runs on Linux, FreeBSD, OpenBSD, NetBSD, Windows, macOS, DOS, and others. It is distributed under the GNU General Public License. I'm not sure how this affects your programs, though. Based on the program's website, the compiler supports the following language standards: ISO-7185 Standard Pascal, most of ISO-10206 Extended Pascal, most of Borland Pascal 7.0, and parts of Borland Delphi, Mac Pascal and Pascal-SC (PXSC).

Turbo51: Free Pascal Compiler for 8051

This is a free Pascal compiler for the 8051 microcontroller. It's a Windows console one-pass optimizing cross-compiler that accepts Borland Pascal 7 syntax and generates either Intel Hex object code, binary code, or the OMF-51 object code. Among its features are the ability to mix Pascal with assembler in your code, source level debugging, full floating point support, and optimizations like constant folding, dead code elimination, branch elimination, loop invariant code motion, loop inversion, induction variable elimination, instruction selection and combining, common subexpression elimination, peephole optimization, etc.

P4 Pascal Compiler

You can find the public domain source code of a Pascal compiler and interpreter. The system is written in Pascal itself, and only the source code is provided, which means that you need to have a Pascal compiler before you can use it. The compiler generates an intermediate p-code which is then interpreted by the p-code interpreter. If you do not have a Pascal compiler, you have a choice of getting their C translation of the compiler (which means you must have a C compiler) or translating their precompiled pcode of the compiler by hand.

Vector Pascal

This Pascal compiler is "targeted at SMID instruction sets such as the MMX and the AMD 3D Now!" It also performs optimizations such as parallel vector operations, loop unrolling and common sub-expression elimination. Binaries are available for Windows and Linux. The source code is also available.

MIDletPascal

MIDletPascal compiles a dialect of Pascal into Java micro edition (J2ME) bytecode, allowing you to write programs for mobile devices (like cellphones) that support the MIDP 1.0 and CLDC 1.0 platforms. (MIDP and CLDC are a set of programming interfaces for the use of Java on embedded devices.) It comes with an IDE for Windows (although you can also run it under Linux and Mac OS X with the help of WINE). The compiler generates Java bytecode directly and does not require you to have a Java compiler installed. This compiler is open source.

Virtual Pascal Compiler

[Update: this compiler is no longer available.] This compiler handles code that is compatible with Borland Pascal and Borland Delphi 2. It has a run-time library, an optimizing compiler, built-in linker, integrated development environment, an integrated debugger, various utilities, patches for third party libraries (Delphi, TurboPower), examples, and online documentation. Platforms supported include Win32 (Windows 95/98/NT/2000), OS/2 and Linux (experimental support).

Related Pages

Newest Pages

How to Link to This Page

It will appear on your page as:

Free Pascal Compilers, Free Delphi Compilers

 


 

thesitewizard.com: Free Webmaster Tutorials, Scripts and Articles

HowtoHaven.com: Free How-To Guides

thefreecountry.com: Free Programmers, Webmasters and Security Resources
If you find this site useful, please link to us.